Method for manipulating the bus communication of a control device

ABSTRACT

A method for manipulating the bus communication of an electronic control device is provided, wherein the bus communication includes a bus hardware-independent first communication layer and a bus hardware-dependent second communication layer. The first communication layer encodes at least one piece of information in a first protocol data unit and transmits it to the second communication layer and/or the first communication layer receives the first protocol data unit from the second communication layer and decodes the first information from the first protocol data unit. The second communication layer generates bus hardware-dependent bus information from the first protocol data unit or from an additional protocol data unit derived from the first protocol data unit for transmission via the bus and/or the second communication layer generates the first protocol data unit or an additional protocol data unit, from which the first protocol data unit can be derived.

This nonprovisional application claims priority to German Patent Application No. DE 10 2012 104 842.8, which was filed in Germany on Jun. 5, 2012, to European Patent Application No. EP 12170769.9, which was filed on Jun. 5, 2012, and to U.S. Provisional Application No. 61/655,658, which was filed on Jun. 5, 2012, and which are all herein incorporated by reference.

BACKGROUND OF THE INVENTION

1. Field of the Invention

The invention relates to a method for manipulating a bus communication of a control device, whereby the bus communication includes at least one bus hardware-independent first communication layer and at least one bus hardware-dependent second communication layer.

2. Description of the Background Art

Methods for manipulating the bus communication of a control device are often used when a control device, which is connected or to be connected to other communication partners via a bus, is to be tested, particularly when the communication behavior of the control device itself is the object of the test. Methods for manipulating the bus communication of a control device are often used for this reason to test a control device and for testing the control device behavior in the event of error. Such methods are known, for example, as part of the so-called restbus simulation, in which real control devices are used in a hardware- and software-based simulated communication environment and their behavior is tested. Such methods are also known, however, as part of the restbus simulation of virtual control devices.

The first and the second communication layer can comprise additional sub-communication layers. The term “communication layer” is to be understood here substantially in the same sense as it is used, according to general understanding, for network protocols or bus protocols. Each communication layer typically provides functionalities to receive information from an adjacent communication layer and to pass it on prepared to another adjacent communication layer. With respect to the aforementioned division into a bus hardware-independent first communication layer and a bus hardware-dependent second communication layer, this means specifically that the first communication layer encodes at least one piece of information in a first protocol data unit and transmits it to the second communication layer and/or that the first communication layer receives the first protocol data unit from the second communication layer and decodes the information from the first protocol data unit. Information in the bus hardware-independent first communication layer refers here typically to an application-oriented datum, for example, a measured value, which has been recorded by the control device and is sent via a bus to another bus participant, or, for example, a variable calculated by the control device. The specific bus used in the particular case is not important for the methods being discussed either in the state of the art or in the method of the invention; the method can be used with any data buses. Examples of bus standards often used in industrial practice are CAN, LIN, or FlexRay. The information is encoded in the send direction, therefore from the first communication layer to the second communication layer, this means, for example, expanded by certain administrative information, and forwarded further to layers closer to the bus and in the present case, therefore, to the second communication layer. In the send and encode direction, the information is packed in the aforementioned protocol data unit. In the receive or decode direction, administrative information is correspondingly removed from the packed information, therefore the first protocol data unit, and finally the information is provided as such. If the first communication layer is capable of both sending and receiving, both the functionality of encoding and the functionality of decoding are implemented. The first communication layer for this reason is bus hardware-independent, because only such services are implemented in it that are independent of the specific bus hardware. In other words, the services realized in the bus hardware-independent layer are either independent of the bus system or dependent on the bus system, but not dependent on the specific bus hardware. The bus-independent first communication layer therefore lies above the communication hardware abstraction layers. For the example of a control device realized according to the AUTOSAR standard, the bus hardware-independent first communication layer then comprises application layer, runtime environment (RTE), and communication services (also including bus system-dependent parts, such as, e.g., CAN transport protocol or FlexRay transport protocol), but not the bus hardware-dependent driver layers, such as, e.g., CAN interface or FlexRay interface.

The bus hardware-dependent second communication layer as well comprises functionalities that realize the transmission of data in the send direction, therefore in the direction to the bus, or in the receive direction, therefore in the direction to the first communication layer, or the transmission of data in both directions. This means that the second communication layer generates bus hardware-dependent bus information from the first protocol data unit or from an additional protocol data unit derived from the first protocol data unit for transmission via the bus (send direction), and/or that the second communication layer generates the first protocol data unit or an additional protocol data unit, from which the first protocol data unit can be derived (receive direction), at least from a bus hardware-dependent bus information. Apart from the first protocol data unit, accordingly there can also be additional protocol data units, which are either derived from the first protocol data unit or from which the first protocol data unit can be derived. This takes into account only the fact that the second communication layer can comprise a plurality of sub-communication layers or protocol layers, each of which generates its corresponding protocol data unit, as has been explained in regard to the first protocol data unit. In the send direction, additional administrative information is typically added to each additional protocol data unit and in the receive direction the additional protocol data units are extracted in sub-communication layers or protocol layers until ultimately the first protocol data unit is obtained, from which the information is ultimately obtained in the first communication layer.

During the testing of control devices and the bus communication of control devices, there is interest in carrying out the testing as realistically as possible in order to obtain as meaningful a test result as possible. In regard to the control device this condition can be met in that in a testing environment merely the control device is used that corresponds in every respect to the series control device to be used later, which therefore has series hardware as well as series software.

For the testing of a real control device, other communication partners are frequently emulated within the scope of a restbus simulation on a hardware-in-the-loop simulator (HIL simulator), whereby not all communication partners need to be simulated, and some of the other communication partners can also be actually present. In the case of this restbus simulation also present in any event, errors can be generated relatively simply in the simulated restbus part, but errors cannot be simply injected between actually present control devices. If the communication between real control devices is to be manipulated as well, this is often realized with an error gateway. In an error gateway, in addition to the normal bus operating fault-free, a second “error bus” is provided, which in the case of error takes effect between two real control devices. The error gateway then mediates between the normal bus and the error bus, whereby the error gateway receives and decodes the data to be manipulated in the error case to be tested until such a protocol data unit is present in which an error is to be introduced, after which the manipulated message is again encoded and supplied to another control device via the error bus. It is readily evident that the manipulating of the bus communication of a control device via an error gateway is decidedly costly. Moreover, the restbus simulation with real control devices always requires that the control device is present also in its series version or at least as a hardware realization (so-called pre-series); this makes testing of the bus communication of a control device at an earlier time virtually impossible. Another fact is that the code, later used in the actual control devices, is not implemented in the restbus model of a simulated control device on an HIL simulator, so that the manipulated and tested bus communication does not correspond to the later actually realized bus communication.

The so-called virtual control devices initiate the testing exactly here. In contrast to the control device model of a restbus simulation, the code of a virtual control device already contains components of the series control device code, which is to be used later in the control device hardware.

Software that emulates a real control device in a simulation scenario is therefore called a virtual control device. The virtual control device in this case comprises, for example, the component of the application software, the runtime environment, and parts of the basic software as a serial control device code.

A virtual control device model is tested, for example, on a standard PC in an offline simulation or on a real-time simulator. In this regard, realistic effects such as the communication behavior are to be analyzed in the simulation.

SUMMARY OF THE INVENTION

It is therefore an object of the present invention to provide a method for manipulating the bus communication of a control device, the method allows the most possible realistic testing of the bus communication of the control device.

In an embodiment, it is provided that at least one send manipulation layer, realized either between the first communication layer and the second communication layer or within the second communication layer, manipulates the first protocol data unit and/or at least one additional protocol data unit derived from the first protocol data unit and provides the manipulated first protocol data unit and/or the manipulated additional protocol data unit to the second communication layer for further processing and/or in that at least one receive manipulation layer, realized either between the first communication layer and the second communication layer or within the second communication layer, manipulates the additional protocol data unit or the first protocol data unit derived from the additional protocol data unit and provides the obtained manipulated first protocol data unit and/or the manipulated additional protocol data unit to the second communication layer for further processing.

An aspect of the method of the invention is that, apart from the bus hardware-independent first communication layer, a send manipulation layer (send direction) and/or a receive manipulation layer (receive direction) are provided; this enables manipulation of the data to be sent or received virtually at any depth of the protocol stack. Because the manipulation layers are provided in each case outside the bus hardware-independent first communication layer, the control device code underlying the first communication layer can be tested unchanged also in an error injection via the manipulation layers. The code of the bus hardware-independent first communication layer need not be changed in any way for the error injection according to the invention by the manipulation layers; therefore it also need not be generated anew. Because the bus hardware-independent first communication layer in real applications typically comprises an application layer, a layer for implementing a runtime environment, and a sub-communication layer comprising specific bus hardware-independent communication services, particularly the unchanged bus hardware-independent communication services as well are tested with the method of the invention during the manipulation of the bus communication; this represents a considerable advantage compared with methods known from the state of the art.

It is not critical for the method of the invention whether the send manipulation layer and/or the receive manipulation layer are realized between the bus hardware-independent first communication layer and the bus hardware-dependent second communication layer, therefore virtually outside the first and the second communication layer, or whether the receive and/or send manipulation layer are realized as part of the second communication layer. Depending on the application and according to the desired site of manipulating the bus communication, it may also be desired to realize one or both manipulation layers both between the first communication layer and the second communication layer and also within the second communication layer.

In an embodiment of the method, the first protocol data unit and/or at least one additional protocol data unit derived from the first protocol data unit can be manipulated by the send manipulation layer, in that the first protocol data unit and/or the additional protocol data unit are decoded, the obtained decoded information to be manipulated is manipulated, and the manipulated information is again encoded into a manipulated first protocol data unit and/or into a manipulated additional protocol data unit. Primarily when the second communication layer comprises a plurality of sub-communication layers (also protocol layers), additional protocol data units, which are derived from the first protocol data unit and each of which is provided with additional and protocol-dependent information in the direction toward the sub-communication layers near the bus, appear in the second communication layer.

In correspondence to the aforementioned exemplary embodiment, another exemplary embodiment of the manipulation method is that the receive manipulation layer manipulates the additional protocol data unit and/or the first protocol data unit derived from the additional protocol data unit, in that the additional protocol data unit and/or the first protocol data unit are decoded, the obtained decoded information to be manipulated is manipulated, and the manipulated information is again encoded into the manipulated first protocol data unit and/or the manipulated additional protocol data unit. Just as already explained in regard to the send manipulation layer, the first protocol data unit or the additional protocol data unit is unpacked until the data to be manipulated “are exposed” and therefore accessible to being manipulated, after which the manipulated data are again “packed” by encoding and again supplied to the data flow of the bus communication. Manipulations or error injections to be carried out relate, for example, to the canceling and/or a delay of the transmission of protocol data units, the canceling or delay of a receipt acknowledgement, and the manipulation of raw data, update bits, check sums, counters, and signals/data.

In another embodiment of the manipulation method, a plurality of protocol data units for a plurality of protocol layers can be generated from the first protocol data unit and/or in a plurality of protocol layers the first protocol data unit is derived from a plurality of protocol data units. In so doing, a plurality of send and/or receive manipulation layers perform a plurality of manipulations on a plurality of protocol data units between a plurality of protocol layers. If this occurs within the second communication layer, then the mentioned protocol layers are virtually sub-communication layers within the second communication layer. Examples of protocol layers within the second communication layer, therefore of sub-communication layers within the second communication layer, are a hardware abstraction layer and a hardware driver layer, whereby the send manipulation layer and/or the receive manipulation layer are realized, for example, between the hardware abstraction layer and the hardware driver layer. Additional manipulation layers can be realized additionally or alternatively.

The method of the invention for manipulating the bus communication of a control device can be used without hesitation in association with already existing standards. A preferred application is that the bus hardware-independent first communication layer is implemented according to the Automotive Open System Architecture (AUTOSAR), which is designed to effect a separation between the application and the underlying hardware.

The method of the invention has the advantage that virtually any testing scenario with the retention of the described advantages can be realized with its use. The method can be carried out easily, for example, by means of a software implementation in a control device, particularly in a series control device. In such a software implementation, the code underlying the first bus hardware-independent communication layer can remain unaffected; the series control device need only be instrumented insofar as that the send manipulation layer and/or the receive manipulation layer must be provided between the first communication layer and the second communication layer and/or within the second communication layer. Particularly communication services provided within the first communication layer are tested independent of the send manipulation layer and/or the receive manipulation layer.

A series control device is not required, however, to carry out the manipulation method of the invention. In a preferred application, the manipulation method of the invention is carried out by means of software implementation on an emulated control device, particularly, for example, on a control device emulated by means of a hardware-in-the-loop simulator in real time. It should be emphasized in particular here also that the code underlying the first bus hardware-independent communication layer, as it is used later in the final target hardware, is also used in an emulated control device and is tested there virtually separate from the implemented manipulation layers.

The method of the invention can be carried out readily also completely offline, therefore by means of a software implementation on a target computer, which particularly is not real-time-capable. Here as well, the code of the first communication layer with the communication services contained therein again can be used readily as it is used later in the final hardware.

Another embodiment of the method provides that the first communication layer and/or the second communication layer and/or the send manipulation layer and/or the receive manipulation layer can be carried out on different computer units, particularly on different processors or on different processor cores.

Further scope of applicability of the present invention will become apparent from the detailed description given hereinafter. However, it should be understood that the detailed description and specific examples, while indicating preferred embodiments of the invention, are given by way of illustration only, since various changes and modifications within the spirit and scope of the invention will become apparent to those skilled in the art from this detailed description.

BRIEF DESCRIPTION OF THE DRAWINGS

The present invention will become more fully understood from the detailed description given hereinbelow and the accompanying drawings which are given by way of illustration only, and thus, are not limitive of the present invention, and wherein:

FIG. 1 shows schematically the operation of the bus communication of a control device according to the prior art;

FIG. 2 shows a send manipulation layer and a receive manipulation layer within a second communication layer;

FIG. 3 shows a send manipulation layer and a receive manipulation layer between a bus hardware-independent first communication layer and a bus hardware-dependent second communication layer;

FIG. 4 shows schematically the structure of the send manipulation layer and the receive manipulation layer;

FIG. 5 shows a detail view of a possible operation of the send manipulation layer and the receive manipulation layer;

FIG. 6 shows the bus hardware-dependent second communication layer with a plurality of protocol layers as sub-communication layers;

FIG. 7 shows the bus hardware-dependent second communication layer with a plurality of send and receive manipulation layers;

FIG. 8 shows the use of the manipulation method with series control devices in the field;

FIG. 9 shows the use of the manipulation method in a control device with restbus simulation; and

FIG. 10 shows the use of the manipulation method “offline” in a non-real-time-capable PC.

DETAILED DESCRIPTION

Different aspects of a method for manipulating the bus communication of a control device 1 are shown in FIGS. 1 to 10, whereby a real control device 1 is shown explicitly only in FIGS. 8 and 9, and FIG. 10 shows a simulated control device 1.

In FIG. 1 the structure of a bus communication known from the state of the art is shown schematically, which comprises a bus hardware-independent first communication layer 2 and a bus hardware-dependent second communication layer 3. The bus hardware-independent first communication layer 2 encodes information 4 in a first protocol data unit 5 and transmits this to bus hardware-dependent second communication layer 3. Conversely, on the “receiver side,” first communication layer 2 receives first protocol data unit 5 from second communication layer 3 and in turn decodes information 4 from first protocol data unit 5. Information 4 is typically application-specific information, for example, a process variable such as pressure or temperature, a setpoint for a control element incorporated by the control device or connected to the control device, or perhaps also only information to be displayed. Information 4 is usually bus hardware-independent.

In the send direction, bus hardware-dependent bus information 7 is generated by the second communication layer 3 from first protocol data unit 5 or from an additional protocol data unit 6 derived from first protocol data unit 5, for later transmission via the bus. In the receive direction, this means that second communication layer 3 generates first protocol data unit 5 or an additional protocol data unit 6, from which first protocol data unit 5 can be derived, from bus hardware-dependent bus information 7. First communication layer 2 and second communication layer 3 can be subdivided into further sub-communication layers; therefore they can contain for their part a plurality of protocol layers. In the send direction, therefore from first communication layer 2 via second communication layer 3 to bus information 7, information 4 during traversal through the protocol stack is wrapped in an increasing number of protocol informations. In the receive direction, therefore from bus information 7 via second communication layer 3 to first communication layer 2, bus information 7 during the reverse traversal through the protocol stack is always further stripped of protocol information, until finally only information 4 is still present.

The operation of the method of the invention for manipulating the bus communication of control device 1 is shown in FIG. 2. In second communication layer 3, a send manipulation layer 8 is realized, which manipulates first protocol data unit 5 and/or an additional protocol data unit 6 derived from first protocol data unit 5 and the manipulated first protocol data unit 5 b and/or the manipulated additional protocol data unit 6 b are provided to second communication layer 3 for further processing. The send manipulation layer 8 is used here, for example, for intentional error injection and therefore for testing the bus communication. It is worth noting here that the bus hardware-independent first communication layer 2 is not changed by the method of the invention for manipulating the bus communication or does not need to be adjusted; particularly all protocol layers incorporated by the bus hardware-independent first communication layer 2, particularly communication services also located here, can be used as they are used in practice in the series control device.

Further, it is evident in FIG. 2 that within second communication layer 3 a receive manipulation layer 9 as well is realized, which manipulates additional protocol data unit 6 or first protocol data unit 5 derived from additional protocol data unit 6 and the obtained manipulated first protocol data unit 5 b and/or manipulated additional protocol data unit 6 b are provided to second communication layer 3 for further processing (receive direction).

Of course, not all protocol data units need to be manipulated by send manipulation layer 8 or by receive manipulation layer 9; if necessary, protocol data units can also pass by the manipulation layers, which is not shown here in detail.

The method of the invention for manipulating the bus communication of a control device is also shown in FIG. 3, whereby in contrast to the exemplary embodiment according to FIG. 2 both send manipulation layer 8 and receive manipulation layer 9 are realized between first communication layer 2 and second communication layer 3. The result of each manipulation layer 8, 9 in each case is that the manipulated first protocol data unit 5 b or the manipulated additional protocol data unit 6 b is generated from first protocol data unit 5 or from additional protocol data unit 6 derived from first protocol data unit 5 by suitable manipulation. In the send direction, the manipulated first protocol data unit 5 b or the manipulated additional protocol data unit 6 b for second communication layer 3 functions like a first protocol data unit 5 or like additional protocol data unit 6 derived therefrom; this is not distinguishable for second communication layer 3.

FIG. 4 shows the more precise process during the manipulation of the bus communication, on the one side for the send path and send manipulation layer 8 (on left), and on the other side for the receive path by means of receive manipulation layer 9 (on right). The send manipulation layer 8 manipulates first protocol data unit 5 or an additional protocol data unit 6 derived from first protocol data unit 5, in that first protocol data unit 5 or additional protocol data unit 6 is decoded 10, the obtained decoded information to be manipulated is manipulated 11, and the manipulated information is again encoded into a manipulated first protocol data unit 5 b or into a manipulated additional protocol data unit 6 b 12. Analogously, the manipulation also occurs in the receive direction; receive manipulation layer 9 there manipulates additional protocol data unit 6 or first protocol data unit 5 derived from additional protocol data unit 6, in that additional protocol data unit 6 or first protocol data unit 5 is decoded 10, the obtained decoded information to be manipulated is manipulated 11, and the manipulated information is again encoded to manipulated first protocol data unit 5 b or to manipulated additional protocol data unit 6 b 12. Of course, the steps described here for the send path and the receive path of decoding 10, manipulation 11, and encoding 12 can differ from one another, even if they are provided with the same reference characters here; of course, manipulation can also be undertaken only in the send path or also only in the receive path. As mentioned above, protocol data units can also be selectively passed by the manipulation layers.

FIG. 5 explains the operation of send manipulation layer 8 and receive manipulation layer 9 as previously described with the use of FIG. 4. It is shown in a very compact manner in FIG. 5 that the information to be manipulated can occur at a different depth of the protocol and that the extent of the decoding 10, depending on the depth of the protocol stack where the manipulation is to occur, can also vary greatly. In the exemplary embodiment shown in FIG. 5, it is shown by way of example that the decoding 10 extends either to a network protocol layer 13, to an interaction protocol layer 14, or even to a signal level 15, whereby the manipulation 11 then occurs in the particular protocol layer. Conversely, the encoding 12 must then again proceed through all protocol layers, therefore from signal level 15 via interaction protocol layer 14 to network protocol layer 13. This applies to send manipulation layer 8 as well as to receive manipulation layer 9. If a manipulation is to occur only in network protocol layer 13, however, the decoding 10 need not occur in protocol layers 14 and 15; the decoding 10 of network protocol layer 13 is followed directly by manipulation 11 and the following encoding 12 in network protocol layer 13. In each of the protocol layers there exists then a unique protocol data unit, which can be the object of a manipulation 11, for the particular protocol layer.

The typical structure of a protocol stack underlying a bus communication to be manipulated is shown on of FIG. 6. In the example, the software architecture follows the modular and open structure according to the AUTOSAR standard. The bus hardware-independent first communication layer 2 thereby comprises application protocol layer 16, runtime environment 17, and bus hardware-independent communication services 18. Bus hardware-dependent communication layer 3, in contrast, comprises a hardware abstraction protocol layer 19 and a driver protocol layer 20. Within second communication layer 3, sub-communication layers 19 and 20 are preceded by a combined send and receive manipulation layer 8, 9. The send and receive manipulation layers 8, 9 in no way require a change or instrumentation of bus hardware-independent first communication layer 2, so that the described method for manipulating the bus communication of a control device makes it possible to use a communication code which is unique to the control device and is present in the shown example in protocol layer 18 with the communication services, during the simulation and testing of the control device communication. As also shown in FIGS. 1 to 3, the bus hardware-dependent bus information 7 is sent from or received by bus hardware-dependent second communication layer 3 depending on the communication direction.

The exemplary embodiment according to FIG. 7 is similar to the exemplary embodiment according to FIG. 6, with the difference that apart from the first send and receive manipulation layer 8, 9 now also an additional second send and receive manipulation layer 8, 9 is provided, namely, between protocol layers 19 and 20, whereby protocol layer 19 is also a hardware abstraction layer and protocol layer 20 is a hardware driver layer.

FIG. 8 shows the application in which the method for manipulating the bus communication of a control device 1 is carried out in series control device 1, whereby series control device 1 is connected via a bus 21 to other control devices and peripheral devices which are connected to bus 21 and of which only one additional control device 22 is illustrated. In control device 1 a first bus hardware-independent communication layer and a bus hardware-dependent second communication layer are realized for the realization of the bus communication, whereby, moreover, a send and receive manipulation layer, which is used for the targeted error injection and thereby the testing of control device 1 and the entire network, is also realized between the two communication layers for manipulating the bus communication.

FIG. 9 shows the application of implementing the method for manipulating the bus communication on a series control device 1, whereby control device 1 is connected to a hardware-in-the-loop simulator 23, which has a suitable bus interface and in which within the scope of a restbus simulation the other participants 24 a, 24 b of the bus network are simulated. Optionally, in addition to series control device 1 and to control devices simulated by the hardware-in-the-loop simulator 23, other series control devices are connected to the bus, which is not shown here in detail.

In another application, not shown here in detail, also the control device, in which the method for manipulating the bus communication is implemented, is simulated with real-time-capable hardware; the method is therefore run on a virtual control device in real time. It is essential here as well that although in the last application example no control device hardware is present, nonetheless the bus hardware-independent first communication layer can be used as it will be used later in a series control device; in particular, the communication services can also be precisely tried out and tested that are part of the bus hardware-independent first communication layer.

In FIG. 10, finally the “offline” application is shown in which the afore-described method for manipulating the bus communication is operated in a non-real-time-capable PC 25. Control device 1, in which the method is run, is also simulated here, precisely like bus connection 21 to other participants in the communication, of which only the virtual control device 24 is shown.

The invention being thus described, it will be obvious that the same may be varied in many ways. Such variations are not to be regarded as a departure from the spirit and scope of the invention, and all such modifications as would be obvious to one skilled in the art are to be included within the scope of the following claims. 

What is claimed is:
 1. A method for manipulating a bus communication of a control device, the bus communication comprising at least one bus hardware-independent first communication layer and at least one bus hardware-dependent second communication layer, the method comprising: encoding, via the first communication layer, at least one piece of information in a first protocol data unit and transmitting the protocol data unit to the second communication layer and/or the first communication layer receives the first protocol data unit from the second communication layer and decodes the first information from the first protocol data unit; generating, via the second communication layer, bus hardware-dependent bus information from the first protocol data unit or from an additional protocol data unit derived from the first protocol data unit for transmission via the bus and/or the second communication layer generates the first protocol data unit or an additional protocol data unit from which the first protocol data unit is derived, at least from a bus hardware-dependent bus information; manipulating, via at least one send manipulation layer realized either between the first communication layer and the second communication layer or within the second communication layer, the first protocol data unit and/or at least one additional protocol data unit derived from the first protocol data unit; and providing the manipulated first protocol data unit and/or the manipulated additional protocol data unit to the second communication layer for further processing and/or at least one receive manipulation layer, realized either between the first communication layer and the second communication layer or within the second communication layer, manipulates the additional protocol data unit or the first protocol data unit derived from the additional protocol data unit and provides the obtained manipulated first protocol data unit and/or the manipulated additional protocol data unit to the second communication layer for further processing.
 2. The method according to claim 1, wherein the send manipulation layer manipulates the first protocol data unit and/or at least one additional protocol data unit derived from the first protocol data unit in that the first protocol data unit and/or the additional protocol data unit are decoded, wherein the obtained decoded information to be manipulated is manipulated, and wherein the manipulated information is again encoded into a manipulated first protocol data unit and/or into a manipulated additional protocol data unit.
 3. The method according to claim 1, wherein the receive manipulation layer manipulates the additional protocol data unit and/or the first protocol data unit derived from the additional protocol data unit, wherein the additional protocol data unit and/or the first protocol data unit are decoded, wherein the obtained decoded information to be manipulated is manipulated, and wherein the manipulated information is again encoded into the manipulated first protocol data unit and/or to the manipulated additional protocol data unit.
 4. The method according to claim 1, wherein a plurality of protocol data units for a plurality of protocol layers are generated from the first protocol data unit and/or in a plurality of protocol layers the first protocol data unit is derived from a plurality of protocol data units, and wherein a plurality of send manipulation layers and/or receive manipulation layers perform a plurality of manipulations of a plurality of protocol data units between a plurality of protocol layers.
 5. The method according to claim 1, wherein a hardware abstraction layer and a driver layer are protocol layers in the second communication layer.
 6. The method according to claim 5, wherein the send manipulation layer and/or the receive manipulation layer are in the second communication layer between the hardware abstraction layer and the hardware driver layer.
 7. The method according to claim 1, wherein the first communication layer is implemented according to the Automotive Open System Architecture (AUTOSAR).
 8. The method according to claim 1, wherein the method is carried out by a software implementation in an electronic control device or in a series electronic control device.
 9. The method according to claim 1, wherein the method is carried out by a software implementation on an emulated electronic control device, and wherein the electronic control device is emulated on a hardware-in-the-loop simulator in real time.
 10. The method according to claim 1, wherein the method is carried out by a software implementation on a target computer or on a non-real-time-capable target computer.
 11. The method according to claim 1, wherein the first communication layer and/or the second communication layer and/or the send manipulation layer and/or the receive manipulation layer are carried out on different computer units, particularly on different processors or on different processor cores. 